import Vue from 'vue'
import Router from 'vue-router'
import HelloWorld from '@/components/HelloWorld'
import Demo from '@/components/Demo2'
import Vd from '@/components/Demo3'
import hls from '@/components/Demo'
import Demo4 from '@/components/Demo4'
import Demo1 from '@/components/Demo1'
import Demo5 from "@/components/Demo5";
import Demo6 from '@/components/Demo6'
import Demo7 from '@/components/Demo7'
import Demo8 from '@/components/Demo8'
Vue.use(Router)
export default new Router({
    routes: [{
        path: '/',
        name: 'HelloWorld',
        component: HelloWorld
    }, {
        path: '/demo',
        name: 'demo',
        component: Vd
    },
    {
        path: '/hls',
        component: hls
    },
    {
        path: '/demo4',
        component: Demo4
    },
    {
        path: '/demo1',
        component: Demo1
    },
    {
        path: '/demo5',
        component: Demo5
    },
    {
        path: '/demo6',
        component: Demo6
    },
    {
        path: '/demo7',
        component: Demo7
    },
    {
        path: '/demo8',
        component: Demo8
    }
    ]
})